# -*- coding: utf-8 -*-
# @时间：2023/11/2 19:54
# @作者：CJiaの可乐哥
# @文件名：router_v1
# @软件：Pycharm2023
from ninja import Router
from system.api_v1.login import router as login_router
from system.api_v1.menu import router as menu_router
from system.api_v1.role import router as role_router
from system.api_v1.post import router as post_router
from system.api_v1.dept import router as dept_router
from system.api_v1.analysis import router as analysis_router
from system.api_v1.user import router as user_router
from system.api_v1.log.login_log import router as login_log_router
from system.api_v1.log.operation_log import router as operation_log_router
from system.api_v1.log.error_log import router as error_log_router

system_router_v1 = Router()

system_router_v1.add_router("/", login_router, tags=['Login'])
system_router_v1.add_router("/", menu_router, tags=['Menu'])
system_router_v1.add_router("/", role_router, tags=['Role'])
system_router_v1.add_router("/", post_router, tags=['Post'])
system_router_v1.add_router("/", dept_router, tags=['Dept'])
system_router_v1.add_router("/", analysis_router, tags=['Analysis'])
system_router_v1.add_router("/", user_router, tags=['User'])
system_router_v1.add_router("/", login_log_router, tags=['LoginLog'])
system_router_v1.add_router("/", operation_log_router, tags=['OperationLog'])
system_router_v1.add_router("/", error_log_router, tags=['ErrorLog'])
